home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lantools / bkup / bk_start.bat < prev    next >
DOS Batch File  |  1990-08-23  |  2KB  |  44 lines

  1. :... BK_START, Craig MacPherson
  2. :    This routine is used to get the backup server running. It  
  3. :    links to the BK_TAPE routine to get/set current tape info and
  4. :    then to BK_SRV_Q to service any requests in queue. Routines had to be
  5. :    seperated due to a problem with Nortons Ask utility and looping using
  6. :    lables.
  7. :
  8. :    Uses drive n: for file copying,  map to sys:\backups 
  9. :    Uses drive z: for tape drive program files, map to sys:\apps\maynard
  10. :    Uses drive y: for my batch files,           map to sys:\backups
  11. :    Drive Z: and Y: must be in the path for the backup server 
  12.  
  13. @echo off
  14.  
  15. :... Set Operator Notify User List for tape mounts
  16.        set NOTIFY=JLC,CVS,BGC
  17. :... Location of backup batch files; should be in seach path
  18.        set SCRIPTS=Y:
  19.        set D1=Y:
  20.        cd %D1%\backups
  21. :... Working drive for the backup server; NOT in search path
  22.        set D2=N:
  23.        cd %D2%\backups
  24. :... Location of tape drive program files; should be in search path
  25.        set D3=Z:
  26.        cd %D3%\apps\maynard
  27.  
  28. :... Beep to make to get operator attention (BE BEEP from Norton Batch Enhancer)
  29.        set SOUND=/F5000 /D2 /R3
  30.  
  31. :... SET Day and Time of Server Auto Backup
  32.  
  33.  
  34. :... Reset the path as Backup server PC has no C drive.
  35. :    Path should include access to public and utility files.     
  36.      PATH=Z:.;Y:.;X:.;W:.;V:.
  37.  
  38. :... Get current system time and date info
  39.      cls
  40.      SYSTIME
  41.  
  42. :... Run routine to manage the backup tapes
  43.      %D1%BK_TAPE
  44.